#include <stdio.h>
#include <stdlib.h>

int main(int argc, char *argv[]) {
  int quadrantes = 8;
  int dimensao = 24;

  int limite = dimensao/quadrantes;
  int nthreads = (dimensao/quadrantes)*(dimensao/quadrantes);

  printf("Nuḿero de Threads: %d\n\n", nthreads);

  int tid;
  for(tid=0; tid<nthreads; tid++){
    printf("Tid: %d -- X %d --------- Y %d | \n",tid,  (tid%limite)*8, (tid/limite)*8);
  }


  return 0;

}
